using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Microsoft.Xna.Framework.Media;
using Perovich.GameObjects;
using Perovich.GameObjects.Components.TwoDimensional;
using Perovich.GameObjects.Components.ThreeDimensional;

namespace ThreeDExampleProject
{
    public class Barrier : InteractiveObject3D
    {
        public string BarrierType { get; set; }

        public Barrier(Perovich.GameObjects.Interfaces.ICanHoldComponents game)
            : base(game)
        {
            BarrierType = null;
            BoundingSphereOffset = new Vector3(0, 1, 0);
        }

        

        public void LoadContent(ContentManager content, string modelName)
        {
            ObjectModel = content.Load<Model>(modelName);
            BarrierType = modelName;
            Position = Vector3.Down;
        }
    }
}
